import { axios } from '@/utils/request'

export function platformgoodscategorytree(query) {  //商品类目
    return axios({
        url: '/yjsh/platformgoodscategory/tree',
        method: 'get',
        params: query
    })
}

export function dataCenterGoodsInfosale(query) {  //数据中心-商品数据报表 门店销售明细
    return axios({
        url: '/yjsh/dataCenter/dataCenterGoodsInfo/sale',
        method: 'get',
        params: query
    })
}

export function dataCenterGoodsInfo(query) {  //数据中心-商品数据报表
    return axios({
        url: '/yjsh/dataCenter/dataCenterGoodsInfo', 
        method: 'get',
        params: query
    })
}

export function dataCenterGoodsInfotrend(query) {  //数据中心-商品数据报表 店门销售明细趋势
    return axios({
        url: '/yjsh/dataCenter/dataCenterGoodsInfo/trend',
        method: 'get',
        params: query
    })
}

